package com.yuda.job.fegin;

import com.yuda.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 文件服务
 *
 * @author wyn
 */
@FeignClient(contextId = "remoteCheckAnswerService", value = ServiceNameConstants.CHECK_ANSWER_SERVICE)
public interface RemoteCheckAnswerService {

    @GetMapping("/checkAnswer/{testSession}/{subjectIndex}")
    public void checkAnswer(@PathVariable("testSession") int testSession,
                            @PathVariable("subjectIndex") int subjectIndex);



    @GetMapping("/checkLog/{paperId}")
    public String checkLog(@PathVariable("paperId") Integer paperId);


}
